
<!--
/**************************************************
* @ orderdetailofbusqry.jsp
*
* Copyright   2005 Hitrust Technology Inc.
* Developed by SDC, Hitrust.
* All Rights Reserved.
*
* Modify History:
*  v1.00, 2006/03/28, Jenny Li
*  1) first release
/**************************************************
-->
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ include file="../../../common.jsp" %>
<%@ taglib uri="/page.util.gs.hitrust.com/taglibs/page" prefix="page"%>

<%@page import="system.base.User"%>
<%@page import="framework.core.DBConnection"%>
<html>
<head>
<title>订单信息</title>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<!--<LINK href="<%=root%>/css/css.css" type=text/css rel=stylesheet>-->
<LINK href="<%=root%>/css/caigouxitong.css"" type=text/css rel=stylesheet>
<style type="text/css">
<!--
..top {
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-top-style: none;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: none;
	border-top-color: #000000;
	border-right-color: #000000;
	border-bottom-color: #000000;
	border-left-color: #000000;
}
..bg_table {
	BACKGROUND-COLOR: #135131;
	border-top-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: solid;
	border-top-color: #000000;
	border-right-color: #000000;
	border-bottom-color: #000000;
	border-left-color: #000000;
}
-->
</style>
<SCRIPT language="JavaScript" src="<%=root%>/js/common.js"></SCRIPT>
<%

//	ResultProcess tGSProvider = (ResultProcess)request.getAttribute("ordermanufacture");
	ArrayList tList = (ArrayList)request.getAttribute("ordermanufacture");
	String[] tStr = (String[])request.getAttribute("curorderdetail");
	GSOrderBean tBean = (GSOrderBean)request.getAttribute("orderbean");
	ArrayList signInList = (ArrayList)request.getAttribute("signInList");
    DBConnection con=DBConnection.open();
%>
<script language="JavaScript">
	var counter;
	function process(val){
		if(val == 'F'){
			ordermanufacturevdetail.action = "<%=response.encodeURL(root+"/A100401.do")%>";
		}else if(val == 'P'){
				if(confirm("是否确定打印？")){
					print_bill();//ordermanufacturevdetail.action = "<%=response.encodeURL(root+"/A100305.do")%>";			
				}else{
					return false;
				}
		}
		ordermanufacturevdetail.submit();
	}
	function window_beforeprint()
	{
		document.all.noprint.style.display="none";
	}
	
	function window_afterprint()
	{
		document.all.noprint.style.display="";
	}
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onbeforeprint="return window_beforeprint()" onafterprint="return window_afterprint()">
<form name="ordermanufacturevdetail" method="post" >
<input type="hidden" name="orderId" value="<%=tBean.getGs_order_tempid() %>">
<p><br></p>
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
	<tr>
		<td height="20">
			<table width="100%" border="0" cellspacing="0" cellpadding="1">
				<tr height="20">
					<td height="30" width="758" class="mtxt_black">订单信息</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<!--<td class="bg_line" height="2"></td>-->
		<td height="2"><hr color="gray"></td>
	</tr>
</table>
<br>
<center>
	<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
	<tr>
		<td>
	    <table class=bg_table id=tableId cellspacing=0 cellpadding=1 width=100% align=center border=0>
	    <tbody>
		<tr class="bg_row_odd" height="20">
			<td class="top" align="center" width='20%' id='aaa'><div align="center" class="txt_content">订单编号</div></td>
			<td colspan=5 class="top" width="30%" nowrap><div class="txt_content"><%=tBean.getGs_order_tempid()%>&nbsp;</div></td>
		</tr>
		<tr class="bg_row_odd" height="20">
			<td class="top" width="13%" align="center">订货单位</td>
			<td class="top" width="20%"><div class="txt_content" align="left"><%=GSBaseManager.getOrderDeptName(tBean.getGs_workcorp_id())%>&nbsp;</div></td>
			<td class="top" width="13%" align="center">配送方式</td>
			<td class="top" width="20%"><div class="txt_content" align="left">
				<%//=tBean.getGs_deliver_mode()==null? "":GSBaseManager.getDeliverModeName(tBean.getGs_deliver_mode())%>
				<%=com.hitrust.gs.service.GSBaseManager.getDictioanryName(tBean.getGs_deliver_mode())%>&nbsp;
			</div></td>
			<td class="top" width="13%" align="center">结算方式</td>
			<td class="top"><div class="txt_content" align="left">
				<%//=tBean.getGs_balance_mode() == null? "":GSBaseManager.getBalanceModeName(tBean.getGs_balance_mode())%>
				<%=com.hitrust.gs.service.GSBaseManager.getDictioanryName(tBean.getGs_balance_mode())%>&nbsp;
			</div></td>
		</tr>
		<tr class="bg_row_odd" height="20">
			<td class="top" width="13%" align="center">送货地址</td>
			<td class="top"><div class="txt_content" align="left"><%=tBean.getGs_deliver_goods_addr()%>&nbsp;</div></td>	
			<td class="top" width="13%" align="center">联系人</td>
			<td class="top"><div class="txt_content" align="left"><%=tBean.getGs_order_contact_name()==null?"&nbsp;":tBean.getGs_order_contact_name()%></div></td>	
			<td class="top" width="13%" align="center">联系电话</td>
			<td class="top"><div class="txt_content" align="left"><%=tBean.getGs_order_contact_phone()==null?"&nbsp;":tBean.getGs_order_contact_phone()%></div></td>	
		</tr>
		<tr class="bg_row_odd" height="50">
			<td class="top" width="13%" align="center">备注</td>
			<td class="top" colspan=5><div class="txt_content" align="left"><%=tBean.getGs_notes()%>&nbsp;</div></td>	
		</tr>
		<tr class=bg_row_odd >
			<td class="top" width="13%" align="center">创建人</td>
			<td class="top"><div class="txt_content">
				<%
				if (tBean.getGs_recorder_id()!=null&&!tBean.getGs_recorder_id().equalsIgnoreCase(""))
				{
					User user=User.fetch(con,tBean.getGs_recorder_id());
					if (user != null)
						out.print(user.getName());
				}
				%>&nbsp;</div>
			</td>	
			<td class="top" width="13%" align="center">创建时间</td>
			<td class="top" colspan=3><div class="txt_content"><%=tBean.getGs_order_create_date()%>&nbsp;</div></td>	
		</tr>
		<%
			if (tBean.getGs_firstauditor_id() != null && !tBean.getGs_firstauditor_id().equalsIgnoreCase(""))
			{
		%>		
				<tr class=bg_row_odd >
					<td class="top" width="13%" align="center">初审人</td>
					<td class="top"><div class="txt_content">
                    <%=User.fetch(con,tBean.getGs_firstauditor_id()).getName()%>&nbsp;</div></td>	
					<td class="top" width="13%" align="center">初审时间</td>
					<td class="top"><div class="txt_content"><%=tBean.getGs_firstaudit_date()%>&nbsp;</div></td>	
					<td class="top" width="13%" align="center">初审意见</td>
					<td class="top"><div class="txt_content"><%=(tBean.getGs_firstaudit_advices()==null || tBean.getGs_firstaudit_advices().equalsIgnoreCase("")) ? "初审通过！" : "初审未通过：<br>"+tBean.getGs_firstaudit_advices()%></div></td>			
				</tr>		
		<%
			}
			else
			{
			%>
				<tr class=bg_row_odd >
					<td class="top" width="13%" align="center">初审人</td>
					<td class="top"><div class="txt_content">&nbsp;</div></td>	
					<td class="top" width="13%" align="center">初审时间</td>
					<td class="top"><div class="txt_content">&nbsp;</div></td>	
					<td class="top" width="13%" align="center">初审意见</td>
					<td class="top"><div class="txt_content">&nbsp;</div></td>			
				</tr>			
			<%
			}
		%>
		<%
			if (tBean.getGs_reviewer_id() != null && !tBean.getGs_reviewer_id().equalsIgnoreCase(""))
			{
		%>		
				<tr class=bg_row_odd >
					<td class="top" width="13%" align="center">复审人</td>
					<td class="top"><div class="txt_content"><%=User.fetch(con,tBean.getGs_reviewer_id()).getName()%>&nbsp;</div></td>	
					<td class="top" width="13%" align="center">复审时间</td>
					<td class="top"><div class="txt_content"><%=tBean.getGs_review_date()%>&nbsp;</div></td>	
					<td class="top" width="13%" align="center">复审意见</td>
					<td class="top"><div class="txt_content"><%=(tBean.getGs_review_advices()==null || tBean.getGs_review_advices().equalsIgnoreCase("")) ? "复审通过！" : "复审未通过：<br>"+tBean.getGs_review_advices()%></div></td>			
				</tr>		
		<%
			}
			else
			{
			%>
				<tr class=bg_row_odd >
					<td class="top" width="13%" align="center">复审人</td>
					<td class="top"><div class="txt_content">&nbsp;</div></td>	
					<td class="top" width="13%" align="center">复审时间</td>
					<td class="top"><div class="txt_content">&nbsp;</div></td>	
					<td class="top" width="13%" align="center">复审意见</td>
					<td class="top"><div class="txt_content">&nbsp;</div></td>			
				</tr>			
			<%
			}
		%>				
		</tbody>
		</table>
		<br>
<%
	if(tStr != null){
%>
            	<table class=bg_table id=tableId cellspacing=0 cellpadding=1 width=100% align=center border=0>
                    <tbody> 
                    <tr class="bg_column"><td colspan="14" class="top"><div align="left" class="txt_content"><b>当前所选订单明细信息</b></div></td></tr>
                    <tr class="bg_column" height=20> 
                        <td class=top align=middle><div align="center" class="txt_content">订单明细编号</div></td>                    
                        <td class=top align=middle><div align="center" class="txt_content">集中编码</div></td>
                        <td class=top align=middle><div align="center" class="txt_content">产品名称</div></td>
                        <td class=top align=middle><div align="center" class="txt_content">规格</div></td>
                        <td class=top align=middle><div align="center" class="txt_content">型号</div></td>
                        <td class=top align=middle><div align="center" class="txt_content">品牌</div></td>
                        <td class=top align=middle><div align="center" class="txt_content">供应商</div></td>						
                        <td class=top align=middle><div align="center" class="txt_content">订货数量</div></td>
                        <td class=top align=middle><div align="center" class="txt_content">价格（元）</div></td>						
                        <td class=top align=middle><div align="center" class="txt_content">总价（元）</div></td>						
                        <td class=top align=middle><div align="center" class="txt_content">送货日期</div></td>
                        <td class=top align=middle><div align="center" class="txt_content">送货时间</div></td>												
                        <td class=top align=middle><div align="center" class="txt_content">订单明细状态</div></td>
                        <td class=top align=middle><div align="center" class="txt_content">审核人</div></td>
																																																																								
					</tr>
							<tr height=20 class="bg_row_odd">
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[0]+"&nbsp;"%>
									</div>
								</td>	
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[1]+"&nbsp;"%>
									</div>
								</td>								
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<a href="<%=response.encodeURL(root+"/A150103.do")%>?&concentricityId=<%=tStr[1]%>" target="_blank"><%=tStr[2]%></a>
									</div>
								</td>
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[3]+"&nbsp;"%>
									</div>
								</td>	
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[4]+"&nbsp;"%>
									</div>
								</td>						
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[5]+"&nbsp;"%>
									</div>
								</td>								
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%
										String temp = "";
										if(tStr[15].equals("0") && tStr[24].equals("0")){
										    temp = "(采购网配送)";
										}
									%>
									<a href="<%=response.encodeURL(root + "/A400108.do?providerId="+tStr[14])%>" target="_blank"><%=tStr[6]%></a><%=temp%>
									</div>
								</td>	
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[7]%><%=tStr[8]+"&nbsp;"%>
									</div>
								</td>	
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[9]%>元
									</div>
								</td>	
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[10]%>元
									</div>
								</td>	
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[11]==null?"&nbsp;":tStr[11]%>
									</div>
								</td>																									
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[12]==null?"&nbsp;":tStr[12]%>
									</div>
								</td>																
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=GSBaseManager.getOrderDetailStatusName(tStr[13])+"&nbsp;"%>
									</div>
								</td>
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[26]==null?"":User.fetch(con,tStr[26]).getName() %>&nbsp;									
									</div>
								</td>																	
							</tr> 		
							<tr class="bg_column"><td colspan="14" class=top><div align="center" class="txt_content">处理信息</div></td></tr>
							<%if(tStr[13].equals(GSBaseConstants.ORDER_AUTHORISE_FAILURE)){%>
							<tr height=20 class="bg_row_odd">
							<td class=top align=middle colspan="3"><div align="center" class="txt_content">物资公司审核意见</div></td>		
								<td class=top align=middle colspan="5"><div align="center" class="txt_content"><%=tStr[25]+"&nbsp;"%></div></td>			
								<td class=top align=middle colspan="3"><div align="center" class="txt_content">审核人：
										<%=tStr[26]==null?"":User.fetch(con,tStr[26]).getName()%>&nbsp;										
									</div>
								</td>		
								<td class=top align=middle colspan="3"><div align="center" class="txt_content">审核时间：<%=tStr[27]%></div></td>
							</tr>			
							<%
							} 
							if((tStr[13].equals(GSBaseConstants.ORDER_CANCEL)||tStr[13].equals(GSBaseConstants.ORDER_BLANK_OUT))&&!tStr[17].equals("")){
							   if(!(tStr[28]==null||tStr[29]==null||tStr[30]==null)){
							   %>
							<tr height=20 class="bg_row_odd">
								<td class=top align=middle colspan="3"><div align="center" class="txt_content">取消原因:</div></td>		
								<td class=top align=middle colspan="5"><div align="center" class="txt_content"><%=tStr[28]+"&nbsp;"%></div></td>			
								<td class=top align=middle colspan="3"><div align="center" class="txt_content">取消人：<%=tStr[29]==null?"":User.fetch(con,tStr[29]).getName()+"&nbsp;"%></div></td>		
								<td class=top align=middle colspan="3"><div align="center" class="txt_content">取消时间：<%=tStr[30]+"&nbsp;"%></div></td>
							</tr>	
							
							<%
							   }
							}
							%>
							
							
							<%
							//交易平台取消处理结果
							if (!tStr[36].equals(""))
							{
							%>
							<tr height=20 class="bg_row_odd">
								<td class=top align=right colspan="2"><div class="txt_content">取消处理原因：</div></td>		
								<td class=top align=middle colspan="12"><div align="center" class="txt_content">aaa</div></td>
							</tr>
							<tr height=20 class="bg_row_odd">
								<td class=top align=right colspan="2"><div class="txt_content">取消处理人：</div></td>		
								<td class=top align=middle><div align="center" class="txt_content">aaa</div></td>
								<td class=top align=middle colspan="2"><div align="center" class="txt_content">取消处理时间：</div></td>		
								<td class=top align=middle colspan="9"><div align="center" class="txt_content">aaa</div></td>
							</tr>
							<%
							}
							%>
														
							<%
							if(tStr[13].equals(GSBaseConstants.ORDER_ORDER_REJECT)){
							%>
							<tr height=20 class="bg_row_odd">
								<td class=top align=middle colspan="3"><div align="center" class="txt_content">拒绝原因</div></td>		
								<td class=top align=middle colspan="7"><div align="center" class="txt_content"><%=tStr[31]+"&nbsp;"%></div></td>										
								<td class=top align=middle colspan="5"><div align="center" class="txt_content">拒绝时间：<%=tStr[32]%> <%=tStr[33]%></div></td>
							</tr>
							<%} %>
							

								
							</tbody>
							</table>
							<br>
<%	
	/*
	if(tStr[13].equals(GSBaseConstants.ORDER_ORDER_CONFIRM) || tStr[13].equals(GSBaseConstants.ORDER_BLANK_OUT)
	        || tStr[13].equals(GSBaseConstants.ORDER_DELIVERY_CONFIRM) || tStr[13].equals(GSBaseConstants.ORDER_FINISH))
	{
	*/
		if (tStr[16] != null && !tStr[16].equals(""))
		{
%>
		    <table class=bg_table id=tableId cellspacing=0 cellpadding=1 width=100% align=center border=0>
		    <tbody>
		    <tr class="bg_column"><td colspan="6" class="top"><div align="left" class="txt_content"><b>当前订单明细送货信息</b></div></td></tr>
			<tr class="bg_row_odd" height="20">
				<td class="top" width="20%" align="center">送货单号</td>
				<td class="top" width="30%"><div class="txt_content" align="left"><%=tStr[16]+"&nbsp;"%></div></td>
				<td class="top" width="20%" align="center">送货时间</td>
				<td class="top" width="30%"><div class="txt_content" align="left">
					<%if(tStr[11]==null||tStr[12]==null){ 
					}else{
					%>
						<%=tStr[11] + " " +tStr[12]%></div></td>
					<%}%>&nbsp;
			</tr>
			<tr class="bg_row_odd" height="20">
				<td class="top" width="20%" align="center">送货联系人</td>
				<td class="top" width="30%"><div class="txt_content" align="left"><%=tStr[18]+"&nbsp;"%></div></td>	
				<td class="top" width="20%" align="center">联系电话</td>
				<td class="top" width="30%"><div class="txt_content" align="left"><%=tStr[19]+"&nbsp;"%></div></td>	
			</tr>
			<tr class="bg_row_odd" height="20">
				<td class="top" width="20%" align="center">配送数量</td>
				<td class="top" colspan="3"><div class="txt_content" align="left"><%=tStr[20]%><%=tStr[8]%>&nbsp;</div></td>		
			</tbody>
			</table>		
<%	    
		}
	 /*
	 }
	 */
	/*
	 if(tStr[13].equals(GSBaseConstants.ORDER_DELIVERY_CONFIRM) || tStr[13].equals(GSBaseConstants.ORDER_FINISH)
          || tStr[13].equals(GSBaseConstants.ORDER_BLANK_OUT))
     {
     */  
		if (tStr[16] != null && !tStr[16].equals(""))
		{     
%>
		    <table class=bg_table id=tableId cellspacing=0 cellpadding=1 width=100% align=center border=0>
		    <tbody>
			<tr class="bg_column"><td colspan="6" class="top"><div align="left" class="txt_content"><b>当前订单明细交货信息</b></div></td></tr>
			<tr class="bg_row_odd" height="20">
				<td class="top" width="20%" align="center">送货单号</td>
				<td class="top" width="30%"><div class="txt_content" align="left"><%=tStr[16]+"&nbsp;"%></div></td>
				<td class="top" width="20%" align="center">签收日期</td>
				<td class="top" width="30%"><div class="txt_content" align="left"><%=tStr[21]+"&nbsp;"%></div></td>
			</tr>
			<tr class="bg_row_odd" height="20">
				<td class="top" width="20%" align="center">签收人</td>
				<td class="top"><div class="txt_content" align="left"><%=tStr[22]+"&nbsp;"%></div></td>	
				<td class="top" width="20%" align="center">签收数量</td>
				<td class="top"><div class="txt_content" align="left"><%=tStr[23]%><%=tStr[8]%>&nbsp;</div></td>	
			</tr>
			
			
			</tbody>
			</table>	
			<br>	
<%} 
	
     if(signInList != null){
%>			

            	<table class=bg_table id=tableId cellspacing=0 cellpadding=1 width=100% align=center border=0>
                    <tbody> 
                    <tr class="bg_column"><td colspan="14" class="top"><div align="left" class="txt_content"><b>当前订单明细签收信息</b></div></td></tr>
                    <tr class="bg_column" height=20> 
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">订单明细编号</div>
						</td>                    
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">集中编码</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">产品名称</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">图件号</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">要货总数</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">签收数量</div>
						</td>
                       <td class=top align=middle> 
                        <div align="center" class="txt_content">签收日期</div>
						</td>						
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">签收时间</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">签收人</div>
						</td>						
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">签收备注</div>
						</td>																																																																														
					</tr>					
					<%
						if(signInList != null && signInList.size() > 0){
						for(int i=0; i<signInList.size(); i++){
							GSOrderDetailSignIn tStr2 = (GSOrderDetailSignIn)signInList.get(i);
							String tTempStr="";
							if(i%2==0){
								tTempStr="class=\"bg_row_odd\"";
							}else {
								tTempStr="class=\"bg_row_even\"";
							}
					%>
							<tr <%=tTempStr%> height=20>
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr2.getGs_order_detail_id()%>&nbsp;
									</div>
								</td>	
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr2.getConcentricity_code()%>&nbsp;
									</div>
								</td>								
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<a href="<%=response.encodeURL(root+"/A150103.do")%>?&concentricityId=<%=tStr2.getConcentricity_code()%>" target="_blank"><%=tStr2.getName()%></a>
									</div>
								</td>
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr2.getDrawing_piece_code()%>&nbsp;
									</div>
								</td>	
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=StringUtils.format(tStr2.getGs_order_count(),2)%><%=tStr2.getProduct_unit()%>&nbsp;
									</div>
								</td>						
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=StringUtils.format(tStr2.getGs_signin_count(),2)%><%=tStr2.getProduct_unit()%>&nbsp;
									</div>
								</td>		
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr2.getGs_signin_date()%>&nbsp;
									</div>
								</td>							
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr2.getGs_signin_time()%>&nbsp;
									</div>
								</td>
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr2.getGs_signin_person()%>&nbsp;
									</div>
								</td>
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr2.getGs_signin_explain()%>&nbsp;
									</div>
								</td>
							</tr> 
							
					<%	
							}
						}
					%>
					</tbody>
				</table>		
				
				
<%		    
     }
	  /*
	  }
	  */		
	}
	if(tList != null){
%>
            	<table class=bg_table id=tableId cellspacing=0 cellpadding=1 width=100% align=center border=0>
                    <tbody> 
                    <tr class="bg_column"><td colspan="14" class="top"><div align="left" class="txt_content"><b>相同订单中还有以下明细</b></div></td></tr>
                    <tr class="bg_column" height=20> 
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">订单明细编号</div>
						</td>                    
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">集中编码</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">产品名称</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">规格</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">型号</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">品牌</div>
						</td>
                       <td class=top align=middle> 
                        <div align="center" class="txt_content">供应商</div>
						</td>						
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">订货数量</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">价格（元）</div>
						</td>						
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">总价（元）</div>
						</td>						
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">送货日期</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">送货时间</div>
						</td>												
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">订单明细状态</div>
						</td>																																																																								
					</tr>					
					<%
						if(tList != null && tList.size() > 0){
						for(int i=0; i<tList.size(); i++){
							String[] tStr2 = (String[])tList.get(i);
							String tTempStr="";
							if(i%2==0){
								tTempStr="class=\"bg_row_odd\"";
							}else {
								tTempStr="class=\"bg_row_even\"";
							}
					%>
							<tr <%=tTempStr%> height=20>
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr2[0]%>&nbsp;
									</div>
								</td>	
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr2[1]%>&nbsp;
									</div>
								</td>								
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<a href="<%=response.encodeURL(root+"/A150103.do")%>?&concentricityId=<%=tStr2[1]%>" target="_blank"><%=tStr2[2]%></a>
									</div>
								</td>
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr2[3]%>&nbsp;
									</div>
								</td>	
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr2[4]%>&nbsp;
									</div>
								</td>						
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr2[5]%>&nbsp;
									</div>
								</td>								
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%
										String temp = "";
									%>
									<a href="<%=response.encodeURL(root+"/A400108.do?providerId="+tStr2[14])%>" target="_blank"><%=tStr2[6]%></a><%=temp%>
									</div>
								</td>
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr2[7]%><%=tStr2[8]%>&nbsp;
									</div>
								</td>	
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr2[9]%>元
									</div>
								</td>	
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr2[10]%>元
									</div>
								</td>	
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr2[11]==null?"&nbsp;":tStr2[11]%>
									</div>
								</td>																																																
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr2[12]==null?"&nbsp;":tStr2[12]%>
									</div>
								</td>		
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=GSBaseManager.getOrderDetailStatusName(tStr2[13])%>&nbsp;
									</div>
								</td>
							</tr> 
							
					<%	
							}
						}else{
					%>
							<font color="red">没有符合条件的其它明细</font>
					<%
						}
					%>
					</tbody>
				</table>
<%	

	}
	if(con!=null){
	    con.close();
	}
%>				
			</td>
		</tr>
	</table>
	</center>
</form>
<div id="noprint">
    <p align="center">  
<!--		<input type="image" src="images/button/guanbi.gif" width="58" height="24" class="box" onclick="window.close();"/>&nbsp;		-->
			<input type="button" class="kuang" value="关闭" onclick="window.close();">
    </p>
</div>

</html>